﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SHack
{
    class SysHelper
    {
        public static void Sleep(int millisecond)
        {
            int start = Environment.TickCount;
            while (Math.Abs(Environment.TickCount - start) <= millisecond)
                Application.DoEvents();
        }
        public static string AppPath
        {
            get
            {
                return AppDomain.CurrentDomain.BaseDirectory;// Environment.CurrentDirectory;
            }
        }

    }
}
